import http from 'http'
import controller from './controller.js'

http.createServer((req, res) => {
  controller(req.url, res, req)
}).listen(9000)

console.log('http://localhost:9000')